package com.dlnu.shoping.shopping.mapper;

import java.util.HashMap;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dlnu.shoping.shopping.mapper.provider.SqlProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.dlnu.shoping.shopping.entity.Category;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;

/**
 * (Category)表数据库访问层
 *
 * @author makejava
 * @since 2023-06-28 15:20:04
 */
@Mapper
public interface CategoryDao extends BaseMapper<Category> {
    @SelectProvider(type = SqlProvider.class,method = "categoryByCid")
    List<HashMap> search(Integer categoryId);
}

